#include<stdio.h>
#include "gobang.h"

int main()
{
    board_init();
	while(1)
	{
         board_show();

		 key_get();

		 if(judge_win())
		 {
			 board_show();
			 printf("%c win game over\n",role);
			 break;
		 }

		 change_role();
    
	}
   return 0;
}
